﻿@model LeadMaster.Models.CompanySundries

@using (Ajax.BeginForm(
   "EditSundry", "Leads", null,
    new AjaxOptions
{
HttpMethod = "Post",
UpdateTargetId = "companysundries"
}, new { @id = "formCompanySundry" }))
{
   @Html.ValidationSummary(true)
   @Html.HiddenFor(m => m.CompanyID)
   @Html.HiddenFor(m => m.CompanySundriesID)
    <fieldset>
    <legend>Restrictions</legend>
    
    <div>
        <table class="listtable contactstable" cellspacing="0" cellpadding="0" style="width: 850px;">
        <tr>
        <th style="text-align: left">Description</th>                        
        <td>@Html.TextBoxFor(m => m.Description, new { @class = "largetextbox" })</td>
        </tr>
        <tr>
        <th style="text-align: left">Lead Question</th>
        <td>@Html.TextAreaFor(m => m.LeadQuestion, new { @class = "largenotes" })</td>
        </tr>
        <tr>
        <th style="text-align: left">Mandatory Lead Question</th>
        <td>@Html.CheckBoxFor(m => m.MandatoryLeadQuestion)</td>
        </tr>
        <tr>
        <th style="text-align: left">Guidance Note</th>
        <td>@Html.TextAreaFor(m => m.Notes, new { @class="notes"})</td>
        </tr>
        </table>
    </div>
    </fieldset>
}


